package com.ly.wxPay.bean.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 支付-商品表
 *
 * @author luoyun
 * @Date: 2025-11-22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("wx_product")
@Schema(description = "支付-商品表")
public class WxProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(type = IdType.ASSIGN_ID)
    @ExcelProperty("主键")
	@Schema(description = "主键")
	private Long id;
    /**
     * 商品名称
     */
    @ExcelProperty("商品名称")
	@Schema(description = "商品名称")
	private String title;
    /**
     * 价格（分）
     */
    @ExcelProperty("价格（分）")
	@Schema(description = "价格（分）")
	private Integer price;
    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
	@Schema(description = "创建时间")
	private java.time.LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ExcelProperty("更新时间")
	@Schema(description = "更新时间")
	private java.time.LocalDateTime updateTime;
}
